# Include dependency macro support
include(CMakeFindDependencyMacro)

# for using spdlog
find_dependency(Threads)

if("@SDFLIB_USE_OPENMP@")
    find_dependency(OpenMP)
endif()

if("@SDFLIB_USE_SYSTEM_GLM@")
    find_dependency(glm CONFIG)
endif()

if("@SDFLIB_USE_SYSTEM_SPDLOG@")
    find_dependency(spdlog CONFIG)
endif()

if("@SDFLIB_USE_SYSTEM_CEREAL@")
    find_dependency(cereal CONFIG)
endif()

if("@SDFLIB_USE_SYSTEM_ASSIMP@")
    find_dependency(assimp CONFIG)
endif()

# Include the auto-generated targets file
include("${CMAKE_CURRENT_LIST_DIR}/SdfLibTargets.cmake")
